@import url('https://fonts.googleapis.com/css?family=Prompt');

@font-face {
  font-family: "THSarabunNew";
  src: url("../fonts/THSarabunNew.ttf") format("ttf"),
    url("../fonts/THSarabunNew.woff") format("woff");
}

@font-face {
  font-family: "thsarabunnewbold";
  src: url("../fonts/THSarabunNew/THSarabunNewBold.ttf") format("ttf"),
    url("../fonts/THSarabunNew/THSarabunNewBold.woff") format("woff");
}

body,
h1,
h2,
h3 {
  /* font-family: 'Lato', 'Prompt', sans-serif; */
  /* font-weight: 300; */
}

.solution {
  font-size: 150%;
  color: #fff;
  margin-top: 15px;
}

.login-outer .login-wrap .login-left .logo-lg {
  font-size: 180%;
  font-family: 'Prompt', sans-serif;
}

.panel-title>a {
  font-size: 130%;
  font-family: 'Prompt', sans-serif;
}

.login-outer .login-wrap .login-right {
  color: #fff;
}

.login-outer .login-wrap .login-right .heading {
  font-family: 'Prompt', sans-serif;
}

.navbar-brand {
  padding: 5px 10px;
}

.login-outer .login-wrap .login-right .btn {
  border-radius: 4px;
  border: solid 2px #06c5ac;
}

.login-outer .login-wrap {
  max-width: 500px;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

#img-upload {
  width: 100%;
}

.table-nonfluid {}

/* .loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url('images/pageLoader.gif') 50% 50% no-repeat rgb(249, 249, 249);
  opacity: .8;
} */
.loading {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgb(249, 249, 249);
  opacity: 1;
}

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 50px;
  height: 10px;
  background: #3498db;
  border-radius: 5px;
  -webkit-animation: load 1.8s ease-in-out infinite;
  animation: load 1.8s ease-in-out infinite;
  z-index: 9999;
  opacity: 1;
}

.loader:before,
.loader:after {
  position: absolute;
  display: block;
  content: "";
  -webkit-animation: load 1.8s ease-in-out infinite;
  animation: load 1.8s ease-in-out infinite;
  height: 10px;
  border-radius: 5px;
}

.loader:before {
  top: -20px;
  left: 10px;
  width: 40px;
  background: #ef4836;
}

.loader:after {
  bottom: -20px;
  width: 35px;
  background: #f5ab35;
}

@-webkit-keyframes load {
  0% {
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
  }

  50% {
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
  }

  100% {
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
  }
}

@keyframes load {
  0% {
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
  }

  50% {
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
  }

  100% {
    -webkit-transform: translateX(40px);
    transform: translateX(40px);
  }
}

@media only screen and (max-width: 768px) {
  /* .conter-wrapper {
    min-height: 600px;
    padding: 10px;
  }

  .stat .icon-col {
    display: none;
  }

  .panel-body {
    padding: 3px;
  }

  #no-more-tables {
    padding: 3px;
  } */
}

/* @media only screen and (max-width: 800px) {

  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables tfoot,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
    border: 0px;
  }

  #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #no-more-tables tr {
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 5px;
  }

  #no-more-tables tr.bg-success {
    border: 0px;
    border-radius: 6px;
    margin-bottom: 5px;
    background: #f54525;
  }

  #no-more-tables td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 40%;
    white-space: normal;
    text-align: left;
  }

  #no-more-tables tfoot td {
    border: none;
    border-bottom: 0px;
    color: #fff;
  }

  #no-more-tables td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }


  #no-more-tables td:before {
    content: attr(data-title);
  }
} */

.page {
  font-family: 'THSarabunNew';
  font-size: 18px;
  /* width: 21cm;
  min-height: 29.7cm;
  padding: 0.5cm;
  margin: 1cm auto;
  border: 1px #D3D3D3 solid;
  border-radius: 5px;
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
}
.page table td,.page table td{
  padding:5px;
}
.page h1 {
  font-size: 20px;
  font-family: 'thsarabunnewbold';
  margin-top: 0px;
  margin-bottom: 0px;
}
.page b{
  font-family: 'thsarabunnewbold';
}
.subpage {
  padding: 1cm;
  border: 5px red solid;
  height: 256mm;
  outline: 2cm #FFEAEA solid;
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  html{
    /* border:10px black solid; */
    margin-top:-10px;
  }
  body {
    border:1px black solid;
    margin:0px;
    transform: scale(.8);
 }
  /* .page { */
    /* margin: 0;
    border: initial;
    border-radius: initial;
    width: initial;
    
    box-shadow: initial;
    background: initial;
     */
  /* } */
  
    [class*="col-md-"] {
      float: left;
    }
  .text-right{
    text-align: right;
  }
  .row {
    margin-left: -15px;
    margin-right: -15px;
}
}